//
//  CommonCell.h
//  Supermarket
//
//  Created by qskj-ios on 2018/12/10.
//  Copyright © 2018年 com.qiansheng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LeaseModel.h"
#import "BookModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface CommonCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *scoreLabel;
@property (weak, nonatomic) IBOutlet UIButton *retureButton;
@property (copy, nonatomic) void (^retureButtonBlock) (UITableViewCell *cell);

- (IBAction)didClickedRetureButton:(id)sender;

- (void)setContentWithLease:(LeaseModel *)model;
- (void)setContentWithBook:(BookModel *)model;

@end

NS_ASSUME_NONNULL_END
